﻿
using DtoFw.Query;
using DtoFw.Result;

namespace DtoFw.Interface
{
    public interface IOrgan
    {
        [Api(Router = "organ/pager")]
        BaseGenericResult<Pager<OrganResult>> Query(OrganQuery query);
        [Api(Router = "organ/post")]
        BaseResult Post(PostOrgnQuery query);
        [Api(Router = "organ/put")]
        BaseResult Put(PostOrgnEditQuery query);
        [Api(Router = "organ/delete")]
        BaseResult Delete(DeleteDto query);
        [Api(Router = "organ/{params}")]
        BaseGenericResult<OrganResult> Get(long organId);
    }
}
